package com.demo.mvc.ioc;

import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;

import java.util.concurrent.Future;

@Slf4j
@Component
public class CatImpl implements Animal {

  @Override
  public void say() {
    log.info("Cat say, hell world.");
  }
}
